# Copyright (c) 2019-present, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.
#
def f_gold ( a , n , m ) :
    sum1 = 0
    sum2 = 0
    for i in range ( 0 , n ) :
        sum1 = 0
        sum2 = 0
        for j in range ( 0 , m ) :
            sum1 += a [ i ] [ j ]
            sum2 += a [ j ] [ i ]
        if ( sum1 == sum2 ) :
            return 1
    return 0


#TOFILL

if __name__ == '__main__':
    param = [
    ([[7, 9, 13, 14, 17, 17, 17, 19, 21, 21, 23, 25, 25, 25, 28, 29, 34, 35, 37, 39, 40, 41, 42, 49, 54, 56, 61, 64, 65, 68, 70, 74, 78, 81, 81, 83, 86, 88, 88, 88, 91, 93, 95, 98], [5, 6, 7, 8, 11, 12, 16, 19, 20, 24, 24, 28, 34, 36, 39, 41, 45, 49, 53, 56, 57, 57, 59, 62, 62, 64, 69, 71, 72, 74, 74, 75, 75, 80, 82, 86, 88, 89, 90, 91, 93, 94, 95, 99], [1, 1, 3, 8, 9, 11, 18, 19, 20, 20, 22, 23, 27, 29, 29, 31, 34, 36, 42, 46, 47, 49, 51, 51, 58, 59, 63, 65, 66, 67, 70, 70, 71, 72, 74, 76, 77, 78, 79, 83, 84, 90, 96, 99], [1, 5, 6, 7, 8, 11, 17, 28, 32, 34, 37, 39, 40, 43, 44, 44, 45, 60, 61, 63, 64, 69, 71, 71, 73, 74, 75, 78, 82, 83, 84, 84, 86, 87, 87, 89, 93, 93, 95, 95, 97, 97, 99, 99], [2, 6, 8, 9, 12, 18, 19, 21, 24, 26, 30, 36, 36, 36, 38, 39, 40, 42, 46, 47, 48, 49, 53, 54, 54, 55, 58, 62, 65, 65, 66, 67, 70, 71, 71, 73, 79, 81, 81, 87, 89, 95, 97, 99], [1, 5, 7, 10, 11, 11, 12, 14, 19, 20, 25, 28, 29, 38, 44, 45, 48, 53, 56, 63, 65, 67, 68, 71, 71, 76, 76, 80, 81, 82, 82, 85, 87, 88, 89, 90, 90, 91, 93, 94, 95, 98, 99, 99], [1, 2, 6, 7, 7, 7, 18, 26, 27, 30, 31, 33, 33, 36, 36, 37, 41, 46, 51, 52, 56, 57, 57, 61, 63, 72, 72, 73, 73, 77, 79, 82, 84, 84, 87, 88, 88, 89, 89, 92, 95, 96, 98, 98], [5, 7, 7, 13, 14, 18, 18, 18, 21, 24, 26, 27, 28, 32, 36, 37, 39, 41, 41, 42, 44, 46, 50, 51, 52, 54, 54, 57, 60, 60, 62, 64, 66, 68, 69, 72, 77, 79, 82, 89, 90, 92, 93, 94], [2, 4, 6, 10, 11, 12, 13, 16, 16, 19, 21, 23, 26, 27, 28, 31, 33, 35, 38, 40, 41, 41, 42, 45, 46, 47, 47, 48, 49, 49, 52, 53, 55, 56, 60, 64, 66, 67, 73, 75, 78, 84, 91, 96], [3, 5, 10, 11, 13, 20, 22, 23, 23, 24, 24, 28, 31, 34, 35, 35, 35, 36, 37, 41, 41, 43, 43, 45, 49, 53, 53, 57, 61, 64, 64, 64, 67, 69, 75, 76, 79, 81, 82, 83, 89, 93, 98, 99], [1, 1, 4, 9, 13, 13, 13, 15, 16, 23, 23, 25, 26, 28, 29, 30, 34, 36, 39, 40, 41, 46, 48, 54, 55, 57, 58, 62, 62, 63, 63, 65, 67, 70, 71, 71, 76, 81, 83, 84, 85, 96, 96, 96], [2, 3, 7, 11, 13, 17, 20, 27, 27, 27, 28, 30, 34, 35, 42, 44, 44, 44, 46, 49, 51, 52, 57, 61, 61, 62, 62, 63, 71, 77, 78, 78, 78, 79, 79, 83, 89, 89, 90, 93, 93, 94, 96, 98], [1, 3, 5, 6, 8, 8, 10, 10, 11, 16, 17, 18, 18, 18, 18, 21, 27, 32, 36, 38, 39, 41, 43, 43, 45, 49, 55, 57, 61, 61, 65, 71, 73, 74, 74, 76, 78, 80, 88, 90, 94, 95, 97, 98], [6, 7, 7, 7, 10, 14, 14, 19, 20, 24, 25, 26, 28, 29, 30, 30, 30, 33, 34, 36, 37, 38, 50, 53, 55, 56, 58, 62, 64, 66, 67, 74, 74, 76, 77, 81, 84, 88, 92, 93, 94, 95, 95, 97], [1, 2, 4, 13, 16, 18, 23, 25, 26, 27, 28, 29, 31, 33, 39, 44, 47, 48, 53, 54, 57, 62, 63, 64, 64, 64, 66, 68, 73, 73, 75, 77, 78, 81, 85, 94, 95, 96, 96, 96, 97, 98, 99, 99], [2, 4, 6, 13, 14, 15, 15, 26, 29, 30, 30, 31, 32, 33, 35, 37, 37, 44, 45, 45, 45, 47, 51, 54, 55, 56, 57, 58, 59, 63, 63, 64, 66, 72, 73, 75, 78, 80, 86, 92, 93, 94, 96, 97], [1, 1, 2, 3, 6, 9, 11, 12, 14, 22, 27, 31, 35, 36, 36, 38, 41, 42, 42, 45, 47, 47, 47, 49, 49, 57, 58, 59, 62, 63, 70, 70, 73, 76, 78, 82, 83, 83, 85, 91, 93, 96, 99, 99], [1, 2, 2, 6, 7, 8, 8, 11, 13, 14, 18, 19, 23, 25, 25, 29, 30, 35, 35, 39, 40, 46, 55, 55, 56, 58, 59, 61, 62, 70, 70, 71, 72, 74, 74, 75, 80, 85, 86, 89, 91, 92, 93, 97], [4, 10, 17, 17, 18, 19, 20, 24, 26, 26, 28, 35, 37, 39, 40, 41, 43, 45, 52, 53, 54, 54, 61, 63, 65, 65, 73, 73, 76, 77, 77, 78, 78, 79, 82, 83, 92, 94, 95, 96, 96, 96, 97, 99], [6, 8, 8, 9, 11, 13, 13, 17, 18, 18, 19, 21, 22, 27, 29, 29, 32, 33, 36, 38, 40, 42, 47, 47, 56, 57, 58, 66, 68, 71, 76, 77, 78, 78, 79, 81, 83, 84, 87, 91, 91, 95, 98, 99], [1, 5, 5, 6, 7, 8, 10, 10, 12, 14, 15, 17, 21, 23, 29, 33, 36, 36, 38, 40, 42, 44, 44, 46, 51, 52, 52, 54, 57, 57, 58, 59, 59, 60, 72, 76, 80, 85, 86, 88, 91, 95, 97, 99], [5, 5, 6, 8, 9, 10, 11, 14, 16, 18, 22, 24, 24, 34, 34, 40, 40, 42, 43, 52, 53, 55, 56, 57, 58, 60, 67, 67, 72, 72, 75, 76, 76, 76, 79, 80, 81, 86, 87, 88, 91, 91, 92, 98], [1, 5, 19, 19, 20, 20, 21, 23, 25, 28, 30, 31, 33, 33, 33, 33, 38, 41, 45, 48, 52, 59, 60, 64, 64, 65, 65, 66, 69, 73, 78, 79, 80, 83, 85, 85, 90, 91, 91, 92, 92, 98, 98, 99], [2, 4, 6, 10, 13, 14, 17, 21, 24, 25, 27, 29, 29, 32, 37, 39, 43, 46, 53, 53, 55, 55, 56, 56, 61, 63, 64, 66, 67, 69, 69, 70, 70, 71, 74, 74, 76, 81, 82, 85, 86, 90, 95, 98], [1, 2, 3, 4, 6, 6, 9, 10, 12, 17, 18, 19, 19, 25, 26, 30, 36, 36, 41, 49, 50, 54, 56, 59, 59, 60, 61, 62, 65, 66, 66, 70, 71, 74, 75, 76, 77, 83, 86, 90, 91, 96, 96, 97], [2, 2, 2, 4, 5, 6, 7, 8, 10, 11, 12, 18, 21, 28, 31, 36, 37, 40, 43, 44, 45, 51, 53, 54, 55, 55, 56, 56, 57, 65, 66, 67, 71, 73, 78, 80, 82, 83, 86, 86, 91, 91, 92, 95], [1, 3, 7, 10, 13, 15, 16, 18, 21, 22, 23, 26, 26, 27, 32, 36, 38, 43, 43, 47, 48, 49, 50, 51, 56, 57, 60, 62, 63, 64, 67, 68, 72, 77, 81, 81, 82, 82, 82, 85, 91, 91, 93, 95], [3, 3, 3, 9, 9, 11, 12, 13, 17, 18, 19, 20, 23, 23, 24, 25, 26, 27, 28, 29, 29, 29, 30, 32, 33, 34, 35, 37, 39, 50, 51, 53, 54, 57, 60, 64, 71, 83, 88, 89, 92, 94, 96, 98], [1, 2, 3, 3, 4, 5, 7, 9, 11, 12, 12, 18, 22, 23, 25, 33, 41, 42, 43, 46, 46, 47, 53, 57, 58, 59, 60, 63, 63, 64, 68, 68, 69, 69, 70, 73, 75, 83, 86, 90, 92, 93, 95, 96], [4, 5, 5, 11, 13, 15, 16, 16, 17, 18, 24, 25, 25, 33, 33, 35, 38, 42, 42, 45, 47, 49, 49, 50, 52, 56, 57, 59, 60, 61, 64, 64, 65, 68, 70, 70, 73, 75, 79, 84, 85, 88, 95, 96], [3, 5, 6, 6, 13, 13, 16, 23, 24, 26, 27, 28, 30, 32, 33, 33, 34, 34, 47, 48, 48, 55, 56, 57, 63, 64, 67, 68, 68, 68, 70, 75, 79, 82, 82, 87, 89, 91, 91, 93, 93, 96, 97, 99], [1, 3, 12, 15, 15, 20, 21, 22, 24, 24, 28, 28, 31, 32, 33, 36, 40, 41, 41, 42, 43, 46, 46, 49, 50, 56, 58, 61, 63, 66, 67, 68, 70, 75, 75, 75, 82, 83, 87, 96, 96, 97, 97, 99], [2, 11, 12, 12, 13, 14, 16, 17, 18, 21, 23, 27, 29, 35, 35, 36, 36, 37, 43, 48, 48, 58, 63, 65, 66, 68, 69, 70, 73, 74, 74, 76, 77, 83, 83, 86, 88, 89, 89, 91, 96, 98, 99, 99], [1, 2, 4, 5, 5, 5, 7, 15, 16, 18, 22, 28, 30, 30, 34, 34, 36, 40, 41, 41, 43, 44, 48, 50, 51, 55, 57, 59, 60, 60, 62, 63, 69, 69, 70, 78, 85, 86, 86, 88, 90, 95, 95, 99], [4, 5, 10, 11, 11, 11, 11, 12, 16, 16, 18, 19, 20, 20, 28, 28, 31, 32, 36, 36, 37, 40, 42, 45, 49, 50, 51, 55, 60, 63, 64, 72, 75, 76, 78, 78, 78, 81, 83, 84, 85, 91, 93, 93], [3, 5, 7, 8, 12, 13, 15, 15, 15, 16, 18, 20, 20, 23, 27, 28, 30, 31, 33, 34, 36, 37, 45, 47, 49, 53, 58, 58, 60, 60, 62, 62, 63, 63, 64, 71, 72, 76, 78, 79, 80, 83, 89, 98], [3, 6, 7, 12, 13, 13, 13, 17, 17, 19, 20, 20, 24, 24, 28, 31, 37, 40, 41, 43, 44, 44, 45, 49, 52, 53, 57, 58, 64, 64, 67, 71, 76, 76, 77, 79, 80, 81, 86, 91, 91, 93, 95, 99], [1, 1, 5, 5, 6, 9, 10, 10, 12, 12, 15, 16, 22, 22, 24, 30, 30, 37, 38, 38, 45, 47, 48, 49, 56, 59, 61, 63, 63, 69, 72, 74, 76, 80, 83, 83, 84, 88, 88, 89, 93, 94, 95, 98], [3, 4, 4, 9, 10, 11, 11, 17, 18, 19, 22, 22, 24, 24, 24, 25, 25, 26, 26, 28, 31, 35, 37, 38, 41, 52, 52, 54, 61, 61, 64, 69, 72, 81, 81, 83, 88, 93, 93, 95, 95, 96, 98, 99], [1, 2, 3, 6, 8, 8, 10, 10, 11, 12, 17, 20, 23, 26, 27, 29, 33, 34, 36, 41, 42, 44, 57, 57, 57, 64, 65, 67, 68, 73, 78, 78, 79, 79, 82, 86, 87, 88, 88, 93, 95, 98, 99, 99], [3, 4, 5, 8, 8, 11, 13, 16, 16, 23, 33, 34, 38, 38, 38, 39, 40, 48, 50, 51, 56, 56, 59, 66, 71, 72, 72, 74, 74, 74, 78, 78, 79, 79, 81, 83, 86, 87, 88, 88, 90, 93, 95, 99], [3, 3, 12, 16, 18, 19, 21, 24, 24, 25, 30, 31, 31, 35, 41, 42, 45, 45, 45, 46, 49, 49, 52, 53, 55, 58, 59, 61, 67, 75, 75, 76, 78, 83, 83, 84, 85, 87, 88, 93, 94, 94, 95, 97], [2, 3, 6, 10, 11, 11, 12, 12, 16, 16, 20, 21, 24, 26, 29, 32, 37, 38, 41, 45, 46, 46, 47, 48, 52, 56, 56, 57, 58, 59, 63, 63, 67, 75, 80, 82, 84, 89, 89, 95, 95, 98, 98, 99], [2, 2, 2, 3, 3, 5, 16, 16, 16, 18, 19, 20, 22, 29, 29, 31, 32, 33, 34, 34, 37, 48, 51, 51, 52, 53, 58, 68, 71, 72, 75, 75, 78, 83, 83, 84, 85, 87, 89, 90, 95, 96, 97, 97]],31,34,),
    ([[80, 22, -16, 10, 44, 26, -88, -6, -42, 68, 60, -60, -86, 34, 94, -28, -68, 62, 14, -60, -46, -24, -38, 30, -60, -62, -52, -86, 2, 86, 24, -46, -4, 18], [-68, 54, 30, -12, -60, -60, 70, 78, -70, -50, -92, -26, -50, -98, 0, 50, -60, 2, 50, 74, -4, 52, 20, 76, 68, 56, 28, -98, -80, -86, 22, -58, -42, -44], [-60, 64, 24, -2, 82, -58, -32, 26, 86, 88, 22, 54, -98, 98, 60, 94, 84, -16, -64, 42, -92, -96, 58, 78, 74, -66, -32, -52, -26, -64, -34, 0, 32, 94], [22, 46, -54, -58, 58, 58, 92, 62, 98, 12, 78, -98, 58, 36, 68, 54, 54, -46, 2, -20, 2, -30, -56, -98, 92, 20, -14, -38, -46, -50, 98, -90, 26, -8], [56, 18, -38, 98, -62, -38, 50, 18, -84, 74, -36, 26, 80, 74, 12, 68, 94, -34, -42, -40, -76, 40, 80, 14, -44, 96, -70, 38, -18, 68, -46, -2, -6, 48], [-84, 30, 22, -44, 36, -44, 40, 86, 76, -4, 30, -4, 12, 78, 28, 58, -30, -8, 36, 14, 84, -2, -22, 38, 56, 14, 56, 12, 48, 22, -8, 6, -48, -10], [-42, -36, 52, -14, 46, -16, -90, -68, 74, 10, 14, 38, -24, 62, -80, 76, -70, -36, -28, 28, 70, 2, -32, 18, 88, -80, -34, 32, -94, -48, -44, 80, -22, 68], [26, 58, -52, 60, -62, -34, 8, -42, 12, -40, -36, 76, -76, 38, 60, -20, -86, -98, -76, -50, 72, 46, -14, -30, -66, -54, 80, 90, 40, 32, -32, 86, -38, 90], [-60, -20, -86, 74, 86, -24, 84, -72, -88, -38, 38, -38, 12, 90, 90, -66, -28, -6, -22, 94, -42, -46, -8, 94, -92, 76, -4, -4, -68, 98, -34, -86, 60, -28], [20, 76, 74, -16, 44, -42, 66, 58, -98, -82, 22, -50, -10, 72, -36, 44, -60, 10, 16, 40, 14, -66, 88, 42, -24, 48, -52, 68, 66, 78, -26, 30, 40, -46], [-54, -18, 28, 16, 46, -94, -66, -34, 16, -12, 46, -40, 2, 10, -8, 90, -26, 70, 16, -72, 52, -74, 16, -8, 40, 12, -12, -82, -56, 86, -42, 92, 94, -30], [82, 26, -72, 30, -40, 18, -94, -62, 30, 6, -82, 50, 6, 62, 66, 72, 24, 16, -46, 58, 62, 36, 94, -56, -94, 14, -44, -4, 28, -22, -38, -80, 24, 2], [32, -14, 2, 0, 28, -36, 92, 14, 52, 26, -36, 56, -44, 60, 48, 64, -24, 46, -22, 46, 80, -10, -26, 76, -40, 40, -38, -30, -46, 44, -94, -20, -64, 12], [-56, -62, 86, 72, 18, 34, -54, 24, 70, 66, 62, 62, -26, 32, 8, 26, 74, -80, -24, 56, -24, 72, 8, -18, -80, 42, 20, -18, -30, 80, -54, 74, -68, -28], [88, 10, -12, 54, 52, 64, -52, -18, 70, 6, -20, -62, -90, -54, 96, -40, -96, 62, -48, -46, 26, 8, -16, -44, 0, 32, -36, -42, 50, 12, 98, -12, 6, -46], [-40, -64, -82, 28, 84, 78, 18, -78, -8, -14, 94, -40, -60, 22, 48, -72, -32, -30, -28, 80, -48, 44, -78, -56, -54, 42, 36, -22, -32, -24, 6, -90, 16, -50], [10, 36, -4, -64, 92, 64, 70, 96, -10, -88, 64, 32, 4, -20, -16, -66, -98, 30, 78, -38, -90, 34, 58, -12, -46, 10, -62, 72, 74, 22, 38, -14, -38, -96], [72, -44, -16, 84, 86, 4, -92, -58, -40, 74, 4, 32, -64, 18, -90, -22, 6, -72, -66, -8, -32, 54, 48, -86, 46, 64, 88, -72, -72, -20, 12, 24, 18, -36], [88, 0, 76, 44, 10, -74, -46, -38, -42, 0, -36, -50, 12, 32, 76, -46, 28, -36, 80, 84, -62, 38, -68, -60, -50, 92, -88, -44, 58, -40, 30, -70, -62, 52], [-52, 96, 68, -74, -8, -42, 40, -38, 22, 58, -8, 36, -68, -68, -70, 84, 74, -22, 38, -34, 38, 0, 98, 80, -12, -44, -50, 24, -44, -96, -30, -94, 2, 34], [92, 50, 46, -12, 88, 44, 84, 86, -50, -62, -60, -84, -42, -50, -60, -76, -98, 54, -26, 10, 32, 26, -70, -38, -58, 8, -64, -44, 34, -10, -28, -26, 26, -52], [-26, 88, 16, 62, -64, -52, 34, 94, -38, -54, 0, 24, -22, 94, -96, 8, 80, -20, 78, -78, -42, 46, 10, 50, -30, 88, -66, -54, 74, 50, 4, 86, 66, 96], [-42, 34, -84, 86, 4, -56, -50, 86, -60, 78, 14, -34, -60, -12, 78, -90, -88, 14, -8, -62, -66, 58, -24, -14, -76, 28, -38, 54, 6, -52, 98, -40, 18, 22], [18, -84, -6, 4, -82, -40, 8, 86, 22, 36, -24, 66, -2, 74, -20, -4, 38, -52, -98, -42, 44, 0, 68, 72, -16, 86, 14, -80, -20, -74, -12, -52, 74, 10], [-8, 48, -10, -88, 90, -58, 22, -28, 6, -14, 64, 6, -10, 34, 78, 8, 84, -96, -70, 82, 58, 58, 94, -32, -54, 52, -36, -64, 62, 50, 98, -56, -90, 78], [-78, 24, 86, -92, -18, 68, 56, -26, 6, 34, 22, -76, 78, -8, 38, -66, -74, -56, 10, -30, -82, -50, -20, -68, -14, 60, -72, 64, 48, 26, 76, 28, 4, 82], [10, -26, -20, 80, 64, 42, -46, 86, 82, 34, -34, -66, -48, -80, -90, -92, 56, -24, -96, 62, -96, 64, -10, 58, 38, -18, 12, 22, 36, 14, 4, -30, 12, 6], [42, 24, -16, 24, 82, -48, 34, 58, -8, -48, -32, 58, 68, -72, 60, 62, 46, -4, -88, 62, 68, -60, 80, 32, 72, 52, -16, -72, -74, -10, -8, -46, 66, -48], [68, -86, 2, 0, -10, 28, -82, 8, -80, -52, 4, -34, 82, 24, 64, -8, -40, -52, -50, 14, -20, 30, 72, 18, 96, -6, 24, -94, 58, -58, -6, -56, -84, -94], [-4, 36, -48, -46, -26, -8, -76, -60, 12, 56, -10, -78, 0, 64, 72, -8, -76, 8, 28, -12, -20, 78, -40, 76, -38, -86, -86, -88, -38, 66, -74, 14, 8, 46], [98, 60, 14, 64, 8, 92, 38, -10, 32, -52, 20, 52, 86, -4, -82, 26, 74, -2, 72, 84, -46, 74, -18, -76, 14, -54, -60, 60, 18, -72, 26, -36, 70, 42], [46, -42, -80, 28, -82, -80, -20, 94, -32, 58, -54, 76, 56, 98, -42, -64, 40, -72, 62, 42, 2, -26, -96, -68, 50, -50, -70, 52, 48, -20, 78, 40, -68, 80], [-84, 18, -24, 60, -14, 72, 2, -54, -46, 64, -46, -30, 6, 6, -4, 10, 94, -4, 38, 62, -68, 40, -4, -42, 86, -48, -10, 74, -36, -4, 22, 88, -24, 26], [86, 60, 98, 82, 14, -72, 96, 50, 68, 38, 42, 36, -30, 48, 94, -72, 94, 82, 18, -14, 76, 96, 4, -52, -96, 26, -88, 8, -46, -2, -56, 14, 44, 60]],27,19,),
    ([[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]],15,22,),
    ([[79, 55, 54, 46, 90, 46, 22, 40, 22, 68, 78, 62, 54, 48, 21, 27, 32, 18, 36, 36, 9, 74, 80, 79, 75, 73, 61, 72, 22, 75, 40, 51, 21, 51, 53, 41, 39, 32, 13, 6, 19, 53, 78, 49, 43, 65], [19, 56, 2, 39, 48, 40, 43, 52, 74, 52, 96, 34, 6, 96, 19, 4, 29, 85, 87, 90, 85, 9, 61, 63, 84, 58, 48, 69, 95, 47, 15, 37, 51, 34, 63, 38, 53, 6, 85, 9, 63, 60, 43, 94, 55, 84], [21, 33, 91, 82, 31, 62, 31, 87, 25, 66, 81, 81, 66, 15, 18, 26, 6, 39, 37, 61, 64, 8, 2, 45, 71, 34, 94, 89, 16, 22, 80, 59, 22, 2, 38, 53, 82, 72, 11, 15, 77, 63, 71, 52, 3, 5], [71, 6, 63, 75, 88, 59, 93, 73, 43, 49, 93, 72, 8, 74, 72, 42, 58, 57, 72, 82, 96, 72, 33, 5, 9, 47, 13, 60, 5, 1, 73, 18, 94, 19, 6, 70, 96, 82, 35, 76, 11, 55, 25, 43, 43, 69], [12, 58, 24, 76, 11, 91, 89, 84, 14, 48, 81, 40, 96, 80, 35, 95, 72, 35, 14, 50, 6, 19, 23, 69, 32, 48, 13, 77, 70, 59, 37, 9, 15, 31, 9, 59, 45, 84, 41, 66, 10, 50, 89, 4, 84, 93], [52, 94, 97, 92, 5, 17, 90, 63, 26, 12, 98, 40, 52, 97, 10, 85, 14, 62, 25, 82, 15, 5, 67, 59, 15, 17, 74, 70, 46, 2, 22, 58, 11, 8, 44, 16, 34, 49, 60, 52, 49, 91, 12, 35, 96, 81], [91, 66, 62, 88, 2, 90, 37, 99, 33, 93, 79, 84, 41, 59, 48, 99, 70, 35, 98, 15, 11, 18, 81, 27, 52, 64, 90, 88, 23, 83, 35, 62, 76, 2, 30, 85, 3, 24, 45, 92, 12, 32, 53, 84, 10, 82], [65, 41, 34, 67, 22, 37, 4, 15, 25, 43, 34, 78, 46, 81, 33, 63, 65, 90, 36, 8, 66, 47, 53, 80, 21, 87, 83, 8, 96, 15, 75, 93, 31, 2, 52, 16, 67, 53, 26, 85, 23, 12, 75, 41, 8, 4], [62, 1, 25, 10, 75, 92, 97, 27, 58, 14, 50, 37, 81, 18, 18, 98, 80, 57, 12, 42, 43, 55, 33, 16, 88, 63, 95, 96, 22, 68, 17, 84, 87, 95, 95, 54, 65, 90, 14, 53, 65, 86, 83, 95, 74, 30], [87, 49, 20, 15, 27, 43, 71, 88, 33, 75, 84, 1, 89, 52, 35, 22, 90, 19, 87, 54, 4, 85, 59, 35, 98, 49, 59, 73, 37, 83, 85, 78, 94, 66, 47, 30, 67, 73, 82, 14, 4, 22, 83, 19, 43, 87], [6, 24, 11, 15, 33, 53, 45, 98, 21, 30, 79, 5, 21, 86, 50, 30, 55, 97, 29, 9, 3, 90, 50, 80, 60, 53, 18, 12, 52, 73, 54, 44, 15, 39, 54, 38, 33, 66, 51, 86, 67, 59, 88, 4, 51, 57], [6, 74, 35, 43, 5, 89, 14, 5, 98, 27, 21, 61, 58, 47, 17, 19, 50, 37, 86, 56, 98, 85, 93, 43, 94, 65, 16, 21, 30, 64, 99, 29, 16, 88, 46, 36, 2, 7, 35, 25, 30, 34, 43, 71, 60, 12], [72, 27, 4, 79, 45, 74, 17, 9, 92, 54, 41, 35, 95, 39, 90, 26, 36, 83, 83, 63, 19, 78, 1, 22, 27, 90, 20, 14, 25, 55, 8, 1, 96, 64, 38, 52, 48, 86, 28, 61, 11, 68, 38, 17, 63, 36], [74, 50, 68, 16, 85, 96, 17, 23, 58, 30, 55, 50, 75, 40, 68, 39, 32, 15, 67, 42, 65, 79, 8, 85, 97, 48, 51, 13, 20, 59, 43, 61, 78, 53, 30, 31, 97, 32, 51, 22, 56, 91, 61, 16, 90, 57], [14, 48, 38, 6, 3, 26, 62, 88, 44, 19, 99, 74, 26, 52, 30, 58, 82, 67, 88, 89, 98, 36, 38, 75, 42, 60, 64, 73, 32, 5, 1, 16, 58, 47, 28, 41, 16, 8, 50, 63, 11, 49, 70, 31, 14, 97], [53, 31, 76, 82, 34, 57, 44, 18, 87, 41, 97, 55, 52, 8, 92, 52, 2, 22, 39, 90, 6, 60, 54, 95, 26, 20, 19, 36, 37, 22, 97, 51, 1, 42, 21, 93, 92, 58, 81, 31, 12, 88, 1, 13, 34, 6], [17, 85, 2, 45, 17, 17, 85, 55, 42, 98, 27, 5, 43, 27, 82, 49, 36, 63, 15, 47, 17, 65, 31, 54, 91, 14, 91, 52, 8, 4, 91, 46, 37, 77, 79, 72, 63, 83, 4, 83, 67, 80, 42, 79, 73, 92], [96, 87, 4, 89, 46, 84, 69, 67, 51, 4, 8, 24, 30, 14, 7, 61, 27, 65, 71, 57, 42, 28, 20, 75, 68, 43, 69, 50, 74, 97, 19, 82, 93, 56, 84, 17, 87, 50, 34, 7, 92, 92, 36, 48, 2, 69], [7, 13, 16, 32, 93, 10, 49, 23, 5, 14, 94, 35, 14, 75, 92, 73, 64, 70, 51, 7, 70, 19, 30, 94, 44, 36, 97, 80, 36, 90, 11, 8, 15, 21, 63, 40, 9, 97, 75, 31, 45, 89, 25, 53, 93, 29], [73, 4, 5, 72, 70, 88, 46, 59, 57, 25, 23, 12, 44, 1, 48, 3, 64, 98, 19, 44, 24, 79, 13, 6, 58, 88, 65, 25, 68, 78, 79, 38, 71, 89, 91, 67, 60, 31, 6, 63, 12, 76, 63, 6, 53, 19], [1, 38, 33, 56, 3, 71, 50, 93, 36, 16, 5, 21, 89, 48, 97, 92, 14, 54, 75, 58, 20, 5, 22, 67, 42, 50, 82, 75, 3, 9, 87, 79, 14, 88, 11, 52, 59, 21, 71, 43, 4, 39, 41, 55, 90, 41], [98, 49, 84, 29, 78, 96, 32, 4, 51, 6, 99, 19, 78, 72, 44, 66, 2, 6, 6, 68, 44, 36, 87, 61, 10, 55, 73, 47, 94, 63, 89, 28, 35, 73, 59, 78, 65, 23, 87, 94, 20, 52, 53, 64, 58, 12], [89, 12, 59, 4, 32, 34, 83, 37, 6, 76, 84, 76, 98, 45, 20, 17, 73, 94, 99, 54, 65, 37, 72, 89, 64, 4, 19, 68, 99, 86, 9, 36, 18, 73, 15, 84, 94, 37, 77, 53, 40, 11, 66, 26, 23, 78], [29, 44, 83, 89, 99, 69, 45, 98, 42, 58, 62, 87, 75, 53, 98, 6, 23, 10, 37, 78, 17, 21, 44, 86, 77, 13, 84, 4, 63, 35, 97, 89, 38, 29, 45, 60, 58, 64, 19, 11, 5, 40, 88, 22, 38, 36], [79, 30, 1, 29, 64, 84, 39, 51, 73, 75, 60, 28, 59, 31, 84, 39, 32, 93, 90, 93, 5, 30, 21, 37, 92, 67, 72, 4, 65, 67, 61, 26, 40, 64, 25, 93, 7, 20, 46, 26, 98, 56, 97, 88, 52, 13], [48, 63, 48, 51, 50, 31, 20, 9, 1, 74, 21, 99, 21, 37, 71, 8, 13, 44, 90, 72, 35, 22, 96, 13, 34, 25, 1, 46, 25, 59, 14, 88, 9, 27, 78, 38, 8, 58, 35, 24, 7, 84, 84, 78, 72, 17], [51, 80, 98, 62, 23, 4, 44, 60, 96, 48, 79, 24, 19, 70, 24, 78, 70, 59, 63, 39, 33, 69, 56, 84, 4, 56, 65, 23, 46, 54, 63, 29, 77, 66, 27, 84, 79, 94, 20, 32, 20, 26, 87, 24, 71, 44], [99, 31, 66, 46, 11, 32, 56, 27, 18, 40, 5, 23, 73, 2, 72, 32, 91, 4, 30, 96, 72, 47, 15, 38, 40, 61, 88, 84, 8, 48, 52, 97, 1, 57, 30, 9, 16, 32, 57, 44, 4, 70, 83, 93, 93, 62], [11, 29, 4, 44, 79, 15, 27, 36, 49, 63, 49, 28, 17, 96, 93, 53, 99, 41, 9, 44, 68, 32, 79, 91, 57, 18, 6, 67, 98, 66, 59, 93, 30, 27, 76, 68, 92, 33, 90, 59, 2, 66, 19, 33, 24, 56], [78, 93, 43, 35, 99, 64, 52, 11, 91, 97, 80, 79, 30, 29, 38, 34, 21, 25, 82, 61, 48, 72, 47, 74, 37, 29, 64, 90, 75, 65, 83, 70, 34, 66, 36, 78, 97, 27, 22, 60, 82, 34, 58, 48, 55, 92], [7, 22, 33, 35, 82, 1, 61, 55, 59, 4, 16, 70, 30, 26, 26, 5, 52, 24, 17, 91, 22, 14, 19, 54, 11, 76, 76, 56, 42, 36, 65, 57, 94, 67, 75, 87, 62, 53, 92, 87, 5, 7, 42, 13, 20, 28], [60, 20, 60, 69, 25, 37, 86, 56, 69, 20, 51, 69, 17, 23, 24, 24, 17, 73, 15, 41, 86, 97, 55, 43, 9, 86, 36, 59, 80, 87, 7, 99, 77, 72, 1, 94, 17, 95, 78, 16, 39, 47, 93, 22, 88, 40], [83, 91, 70, 47, 42, 13, 57, 17, 9, 90, 29, 24, 59, 87, 80, 53, 64, 99, 67, 4, 8, 67, 23, 13, 22, 70, 46, 60, 55, 76, 15, 10, 68, 77, 36, 90, 99, 42, 85, 60, 31, 17, 36, 52, 6, 58], [5, 61, 35, 13, 95, 22, 40, 76, 66, 47, 15, 79, 61, 58, 72, 17, 65, 97, 35, 32, 84, 53, 81, 41, 31, 69, 3, 10, 79, 41, 17, 50, 31, 99, 24, 33, 76, 79, 63, 56, 32, 80, 76, 91, 16, 19], [87, 60, 85, 63, 93, 5, 2, 59, 28, 57, 1, 62, 58, 89, 75, 83, 82, 16, 88, 74, 45, 84, 10, 10, 21, 70, 77, 25, 17, 41, 65, 29, 71, 38, 65, 85, 67, 18, 17, 83, 6, 88, 57, 96, 52, 62], [74, 80, 61, 41, 76, 87, 32, 63, 15, 35, 24, 72, 9, 39, 9, 26, 8, 75, 90, 69, 71, 53, 96, 41, 16, 27, 19, 22, 13, 27, 86, 23, 17, 80, 98, 53, 63, 99, 53, 69, 10, 90, 51, 12, 21, 79], [8, 85, 72, 54, 76, 13, 37, 48, 90, 82, 85, 90, 68, 77, 55, 72, 26, 26, 10, 28, 87, 88, 68, 42, 37, 66, 14, 22, 78, 46, 33, 39, 42, 21, 26, 88, 38, 1, 39, 24, 34, 29, 31, 28, 42, 98], [16, 50, 73, 65, 77, 52, 54, 82, 41, 41, 71, 28, 73, 7, 4, 83, 94, 14, 8, 71, 12, 60, 24, 32, 43, 64, 2, 8, 99, 2, 38, 38, 98, 74, 44, 80, 50, 4, 67, 77, 19, 13, 84, 95, 3, 17], [24, 7, 31, 44, 60, 97, 65, 6, 24, 8, 20, 90, 1, 30, 94, 27, 59, 6, 66, 1, 59, 59, 66, 64, 97, 90, 88, 88, 90, 97, 19, 48, 44, 39, 40, 70, 80, 42, 79, 36, 31, 40, 57, 14, 17, 48], [33, 13, 74, 49, 40, 66, 15, 16, 96, 74, 71, 97, 30, 89, 22, 13, 24, 68, 11, 94, 93, 78, 24, 98, 92, 23, 51, 1, 23, 22, 43, 17, 59, 74, 56, 86, 18, 89, 11, 24, 53, 92, 13, 35, 21, 45], [9, 43, 85, 60, 97, 86, 77, 75, 37, 52, 19, 15, 17, 74, 31, 51, 45, 80, 99, 25, 32, 41, 81, 42, 42, 55, 26, 21, 16, 8, 71, 13, 81, 40, 88, 47, 3, 35, 78, 72, 52, 7, 63, 35, 40, 91], [17, 45, 22, 66, 69, 65, 10, 20, 3, 70, 6, 60, 94, 84, 38, 62, 78, 2, 25, 69, 84, 19, 1, 41, 29, 90, 78, 84, 42, 49, 53, 58, 44, 80, 96, 98, 62, 65, 56, 31, 38, 93, 60, 2, 93, 75], [81, 35, 56, 41, 61, 85, 14, 63, 47, 98, 10, 51, 22, 3, 79, 80, 16, 48, 67, 28, 66, 50, 94, 29, 22, 48, 85, 66, 25, 62, 19, 58, 89, 1, 79, 8, 35, 97, 64, 42, 68, 49, 18, 94, 38, 84], [95, 35, 38, 92, 67, 6, 64, 70, 83, 88, 13, 59, 72, 68, 99, 17, 44, 41, 31, 90, 74, 90, 14, 14, 76, 47, 38, 84, 92, 50, 13, 61, 26, 45, 49, 13, 14, 80, 42, 97, 27, 11, 57, 89, 94, 19], [84, 20, 33, 54, 90, 35, 35, 47, 42, 54, 22, 25, 6, 74, 16, 35, 38, 78, 6, 46, 86, 70, 76, 70, 26, 24, 73, 80, 8, 99, 60, 37, 2, 72, 95, 64, 73, 72, 15, 13, 31, 15, 26, 92, 78, 83], [17, 76, 86, 79, 87, 96, 79, 49, 34, 83, 71, 97, 80, 1, 88, 31, 63, 65, 49, 36, 51, 93, 15, 38, 73, 55, 90, 71, 81, 39, 7, 12, 17, 79, 82, 34, 98, 58, 92, 83, 39, 76, 80, 13, 98, 86]],41,39,),
    ([[-18, -4, 34, 62, 78, 90, 90, 96], [-80, -80, -72, -50, -20, -2, 52, 62], [-98, -40, -38, -12, -4, 4, 70, 78], [-86, -72, -44, -38, 20, 76, 78, 82], [-82, -38, -8, 28, 44, 44, 50, 84], [-6, 0, 10, 30, 34, 36, 42, 62], [-54, -18, -12, -8, -6, 4, 56, 76], [-68, -10, -8, -4, 0, 26, 80, 92]],7,5,),
    ([[0, 0, 1, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 1, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0, 1, 1], [1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 1, 1, 0, 1, 1, 1, 0, 0, 0, 0], [1, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 1, 0, 1], [0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 0, 1], [1, 0, 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0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0], [1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 1, 0, 0, 0, 1], [0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 1, 1, 1, 1], [0, 0, 1, 0, 1, 1, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0]],27,27,),
    ([[2, 2, 3, 4, 4, 5, 5, 10, 10, 12, 15, 18, 22, 23, 23, 31, 36, 37, 43, 44, 46, 49, 53, 54, 55, 56, 62, 62, 64, 65, 65, 67, 68, 75, 81, 82, 84, 84, 87, 92, 93, 94, 95, 95, 98], [6, 8, 12, 14, 14, 16, 16, 16, 17, 18, 22, 23, 24, 29, 31, 36, 36, 37, 38, 40, 48, 48, 52, 54, 56, 59, 59, 59, 62, 65, 66, 67, 70, 71, 71, 72, 79, 82, 85, 88, 92, 95, 96, 97, 97], [3, 9, 11, 12, 13, 13, 13, 15, 16, 17, 28, 28, 30, 31, 31, 35, 36, 39, 41, 47, 49, 49, 50, 51, 54, 54, 59, 62, 63, 64, 65, 66, 67, 68, 70, 71, 74, 75, 78, 79, 79, 84, 87, 93, 99], [3, 5, 7, 10, 11, 12, 13, 15, 15, 18, 19, 19, 26, 28, 28, 29, 33, 35, 35, 36, 39, 40, 42, 43, 53, 54, 54, 64, 69, 70, 74, 75, 76, 78, 80, 87, 89, 90, 93, 96, 96, 97, 98, 99, 99], [2, 2, 9, 9, 11, 14, 14, 16, 19, 19, 22, 23, 26, 27, 35, 37, 40, 43, 43, 44, 45, 45, 45, 46, 46, 51, 55, 56, 59, 61, 63, 65, 66, 68, 68, 75, 76, 77, 78, 84, 87, 89, 93, 94, 99], [2, 8, 9, 10, 12, 14, 19, 27, 28, 30, 30, 36, 38, 41, 41, 44, 46, 46, 47, 52, 54, 57, 57, 60, 62, 66, 66, 68, 68, 69, 69, 70, 70, 71, 73, 79, 80, 84, 88, 88, 89, 92, 93, 93, 96], [4, 9, 11, 12, 13, 21, 23, 25, 31, 31, 32, 34, 35, 37, 39, 41, 41, 42, 52, 53, 53, 55, 56, 57, 58, 59, 69, 71, 72, 75, 75, 77, 83, 84, 85, 87, 88, 89, 90, 90, 90, 95, 95, 98, 99], [14, 15, 17, 19, 19, 20, 21, 24, 25, 26, 29, 31, 35, 35, 39, 42, 43, 46, 46, 48, 54, 55, 55, 56, 62, 63, 63, 66, 67, 68, 69, 70, 72, 75, 76, 80, 82, 82, 84, 85, 87, 87, 97, 98, 98], [1, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 14, 18, 19, 21, 22, 26, 28, 32, 38, 40, 40, 42, 42, 43, 44, 45, 48, 48, 50, 53, 62, 75, 77, 77, 82, 84, 85, 86, 87, 92, 93, 96, 97], [1, 7, 9, 10, 11, 17, 19, 22, 23, 28, 33, 36, 37, 37, 38, 39, 43, 45, 46, 51, 52, 53, 54, 58, 58, 60, 60, 61, 61, 62, 64, 66, 69, 71, 73, 75, 77, 79, 83, 84, 90, 90, 94, 96, 98], [7, 10, 13, 14, 16, 25, 28, 29, 29, 30, 31, 31, 31, 37, 37, 37, 38, 38, 41, 41, 48, 49, 50, 52, 54, 54, 57, 59, 59, 61, 64, 65, 66, 67, 67, 70, 71, 71, 72, 72, 74, 82, 86, 89, 97], [2, 15, 18, 19, 19, 23, 25, 26, 26, 26, 29, 38, 40, 44, 47, 49, 51, 52, 53, 54, 56, 61, 61, 65, 67, 69, 69, 69, 70, 72, 73, 78, 78, 78, 83, 85, 88, 90, 91, 92, 92, 95, 95, 98, 99], [1, 3, 6, 13, 14, 14, 14, 15, 18, 19, 21, 25, 27, 28, 31, 32, 36, 38, 40, 43, 45, 50, 57, 58, 61, 62, 62, 69, 71, 71, 72, 73, 76, 77, 79, 80, 82, 83, 86, 92, 93, 93, 96, 97, 99], [1, 2, 4, 4, 8, 14, 15, 18, 21, 21, 22, 25, 26, 27, 27, 28, 32, 33, 34, 37, 38, 39, 43, 46, 47, 48, 53, 55, 57, 63, 66, 67, 70, 73, 75, 76, 76, 77, 79, 82, 87, 90, 91, 95, 99], [2, 5, 11, 13, 15, 16, 18, 22, 23, 24, 27, 27, 32, 32, 33, 34, 37, 41, 43, 45, 46, 53, 58, 60, 62, 63, 64, 65, 66, 68, 68, 71, 71, 72, 73, 74, 77, 81, 84, 89, 91, 94, 96, 96, 97], [1, 2, 3, 14, 16, 18, 22, 26, 27, 27, 30, 33, 43, 43, 44, 44, 44, 45, 47, 50, 51, 51, 55, 56, 56, 57, 58, 59, 63, 67, 68, 69, 74, 75, 79, 79, 80, 84, 87, 87, 94, 94, 95, 97, 97], [3, 8, 9, 13, 14, 15, 18, 19, 20, 21, 21, 21, 24, 25, 26, 28, 31, 35, 35, 45, 46, 46, 46, 46, 49, 52, 58, 64, 65, 68, 69, 70, 71, 74, 75, 76, 78, 80, 81, 83, 83, 85, 88, 92, 95], [3, 3, 10, 12, 12, 12, 13, 14, 14, 16, 18, 19, 22, 23, 24, 28, 30, 32, 34, 36, 37, 37, 38, 38, 45, 46, 51, 55, 56, 61, 61, 65, 67, 69, 70, 71, 74, 74, 78, 84, 87, 89, 89, 91, 98], [2, 4, 4, 5, 7, 13, 14, 17, 18, 19, 20, 21, 23, 23, 23, 27, 30, 32, 39, 40, 41, 44, 48, 49, 51, 55, 57, 59, 64, 70, 71, 71, 72, 73, 75, 77, 78, 79, 79, 80, 81, 92, 94, 96, 98], [1, 4, 4, 4, 8, 10, 10, 10, 12, 14, 16, 17, 24, 25, 25, 27, 28, 29, 33, 34, 35, 36, 39, 40, 40, 43, 44, 44, 46, 53, 54, 59, 60, 62, 63, 66, 70, 74, 77, 79, 83, 84, 90, 96, 97], [2, 10, 12, 12, 13, 15, 16, 18, 21, 29, 34, 36, 38, 41, 47, 47, 47, 48, 49, 51, 55, 56, 58, 60, 61, 63, 64, 68, 68, 71, 74, 74, 76, 77, 84, 84, 87, 87, 88, 89, 93, 93, 96, 97, 99], [1, 2, 4, 13, 14, 15, 23, 27, 30, 35, 36, 36, 38, 40, 42, 44, 46, 48, 51, 53, 54, 57, 57, 57, 61, 66, 67, 69, 69, 69, 73, 76, 76, 77, 77, 80, 82, 82, 85, 87, 88, 90, 93, 94, 96], [1, 5, 5, 8, 14, 20, 21, 29, 29, 34, 34, 34, 34, 35, 37, 37, 41, 45, 48, 48, 51, 52, 53, 54, 55, 60, 65, 65, 65, 66, 67, 68, 70, 74, 74, 76, 77, 77, 78, 83, 83, 86, 93, 94, 96], [1, 2, 2, 5, 6, 6, 7, 11, 11, 13, 13, 17, 18, 20, 22, 23, 23, 25, 32, 34, 38, 40, 45, 49, 49, 50, 57, 60, 65, 66, 67, 71, 71, 71, 76, 76, 80, 85, 89, 90, 90, 91, 92, 96, 99], [1, 2, 2, 5, 6, 8, 9, 12, 14, 17, 23, 25, 29, 32, 33, 37, 39, 39, 40, 45, 54, 54, 56, 57, 58, 60, 63, 63, 63, 66, 67, 68, 69, 70, 75, 77, 79, 80, 83, 91, 92, 93, 95, 95, 97], [5, 9, 11, 11, 15, 24, 27, 27, 27, 29, 31, 32, 35, 36, 38, 43, 44, 46, 49, 51, 53, 54, 56, 56, 58, 58, 59, 59, 59, 60, 62, 66, 67, 69, 69, 73, 77, 82, 85, 87, 89, 89, 96, 97, 99], [2, 3, 5, 5, 11, 12, 17, 20, 21, 22, 22, 23, 29, 31, 35, 35, 36, 37, 42, 43, 47, 52, 55, 57, 57, 64, 65, 67, 69, 69, 70, 70, 72, 74, 76, 79, 80, 80, 81, 84, 91, 92, 92, 93, 97], [1, 3, 3, 8, 9, 9, 12, 13, 14, 16, 16, 21, 23, 24, 27, 28, 29, 31, 33, 33, 35, 37, 45, 52, 53, 54, 55, 55, 59, 61, 61, 62, 63, 63, 69, 71, 78, 78, 80, 84, 84, 85, 86, 93, 96], [1, 4, 8, 8, 8, 9, 14, 21, 21, 22, 24, 26, 26, 27, 27, 34, 36, 37, 37, 37, 41, 42, 53, 53, 56, 60, 61, 61, 65, 65, 66, 67, 69, 70, 71, 72, 72, 81, 87, 89, 89, 91, 94, 95, 97], [3, 6, 9, 17, 18, 20, 21, 23, 24, 32, 33, 34, 34, 36, 38, 39, 39, 41, 42, 43, 45, 48, 49, 51, 52, 53, 56, 61, 63, 63, 64, 65, 66, 69, 72, 79, 79, 83, 84, 86, 88, 89, 94, 96, 99], [1, 6, 9, 13, 16, 18, 21, 21, 21, 23, 25, 30, 32, 36, 38, 44, 45, 46, 46, 48, 50, 51, 55, 60, 60, 62, 62, 65, 66, 68, 69, 70, 72, 78, 78, 84, 85, 85, 86, 87, 94, 94, 97, 98, 99], [1, 2, 5, 6, 11, 16, 20, 21, 25, 25, 28, 30, 33, 33, 36, 40, 42, 44, 44, 47, 49, 50, 52, 52, 56, 56, 57, 57, 63, 68, 71, 72, 78, 83, 87, 88, 90, 91, 94, 94, 98, 98, 98, 99, 99], [2, 2, 2, 4, 5, 7, 8, 8, 9, 10, 13, 18, 20, 22, 24, 25, 28, 28, 29, 30, 34, 35, 37, 40, 41, 45, 45, 46, 46, 46, 50, 53, 60, 71, 74, 75, 75, 81, 81, 87, 89, 93, 95, 97, 98], [3, 6, 8, 10, 14, 17, 18, 20, 21, 22, 24, 30, 31, 31, 32, 37, 39, 41, 47, 48, 51, 53, 55, 60, 62, 65, 66, 67, 67, 68, 69, 70, 71, 71, 74, 74, 75, 76, 83, 85, 88, 90, 93, 96, 99], [1, 2, 5, 13, 17, 22, 30, 33, 34, 36, 37, 39, 42, 43, 43, 43, 45, 45, 46, 48, 49, 51, 51, 53, 56, 56, 57, 64, 64, 67, 68, 68, 69, 70, 72, 74, 76, 77, 77, 88, 90, 92, 92, 95, 97], [4, 7, 7, 10, 11, 15, 18, 20, 21, 25, 26, 26, 27, 28, 28, 30, 35, 36, 40, 40, 49, 54, 59, 61, 65, 65, 70, 71, 72, 74, 75, 76, 78, 83, 83, 84, 87, 87, 87, 92, 94, 94, 96, 97, 98], [5, 7, 11, 12, 13, 16, 20, 21, 26, 30, 31, 32, 33, 37, 39, 40, 40, 42, 46, 51, 51, 51, 52, 52, 53, 55, 55, 57, 61, 64, 70, 75, 78, 78, 84, 85, 87, 90, 92, 93, 96, 96, 97, 98, 99], [1, 1, 2, 4, 5, 11, 12, 16, 17, 17, 18, 20, 21, 25, 28, 30, 32, 32, 33, 39, 39, 41, 42, 45, 45, 52, 53, 54, 56, 56, 56, 61, 61, 65, 67, 69, 69, 71, 72, 74, 78, 78, 81, 85, 88], [1, 2, 5, 5, 12, 13, 20, 20, 26, 27, 30, 33, 34, 34, 39, 42, 42, 45, 46, 46, 49, 53, 55, 56, 56, 57, 60, 60, 65, 65, 69, 72, 72, 73, 78, 79, 83, 85, 85, 86, 87, 89, 91, 95, 98], [3, 3, 8, 10, 13, 18, 22, 24, 25, 26, 26, 29, 30, 36, 38, 38, 40, 41, 42, 42, 45, 49, 50, 52, 52, 54, 55, 59, 59, 61, 64, 66, 69, 74, 77, 83, 84, 85, 86, 86, 87, 90, 90, 92, 92], [2, 3, 8, 8, 9, 10, 11, 12, 12, 19, 25, 26, 29, 30, 31, 34, 34, 38, 45, 47, 48, 49, 49, 52, 56, 59, 60, 66, 67, 69, 70, 72, 72, 73, 74, 74, 77, 79, 79, 83, 85, 87, 89, 95, 95], [4, 4, 5, 10, 15, 17, 20, 21, 21, 22, 23, 24, 31, 36, 37, 39, 40, 42, 44, 52, 53, 53, 56, 56, 61, 61, 63, 74, 77, 78, 79, 79, 80, 82, 83, 84, 85, 86, 86, 88, 94, 97, 97, 98, 99], [1, 1, 1, 3, 4, 8, 9, 11, 13, 17, 18, 21, 23, 24, 26, 30, 32, 34, 34, 34, 37, 39, 42, 46, 46, 46, 47, 50, 54, 54, 61, 71, 74, 76, 79, 81, 81, 83, 84, 86, 87, 88, 90, 97, 97], [2, 10, 10, 14, 15, 15, 18, 22, 23, 25, 29, 34, 35, 36, 37, 42, 42, 43, 45, 46, 49, 49, 53, 57, 58, 61, 62, 64, 67, 67, 69, 73, 77, 77, 80, 81, 83, 87, 90, 91, 92, 92, 93, 95, 95], [2, 9, 10, 10, 17, 19, 23, 25, 26, 26, 32, 36, 36, 39, 40, 41, 43, 44, 44, 45, 45, 50, 50, 52, 55, 57, 58, 60, 60, 61, 67, 68, 72, 75, 75, 78, 83, 85, 92, 92, 95, 97, 98, 99, 99]],26,27,),
    ([[-54, 56, -84, 24, -78, 86, -60, -40, 20, 96, 8, 42, 32, 74, -6, -44, 26, -66, -56], [-48, 96, 76, -98, 44, -80, 70, 78, -12, 68, 56, -88, 44, -18, 56, -80, -76, -90, -84], [40, 18, 88, 96, -96, -16, -10, -50, -14, -8, -36, -22, -48, -14, -34, -64, -76, 0, -66], [-80, 24, -62, -12, 78, -80, -84, 24, 74, 20, -12, -66, 46, -38, 6, -64, -38, 84, 66], [48, 16, 16, -96, 66, -10, -84, 78, 60, -30, -92, -76, 8, -6, -36, 94, -52, 24, -2], [-78, 52, 92, -54, -36, 32, 88, -12, 54, 44, -24, 60, 32, -86, 4, 22, 24, 94, 76], [46, -80, -44, -16, -52, 22, -14, 88, -82, 22, 16, 28, -32, 64, 46, 66, -26, 42, -26], [-44, 62, 78, -76, -92, -82, 72, -96, 18, -32, -94, -56, 26, -30, -42, -30, 96, -26, 84], [6, 14, -36, -94, 90, 44, -4, 78, -56, -96, -88, 8, -26, 48, -80, 12, 70, 26, -8], [-18, -38, 36, -76, -8, -26, -4, 88, 24, -42, -46, 86, 62, 8, -2, 24, -82, -48, -22], [-22, -82, 78, 86, -20, 74, -30, 2, 98, 8, -46, 62, 52, -2, 14, -32, 2, 36, -56], [58, 18, 34, -92, 98, 80, -68, 86, -22, -12, -24, 34, -36, -66, 0, -96, -2, -24, -60], [-34, -26, -32, -76, -96, -30, -82, -20, 0, -70, 30, 8, -84, 46, 10, 24, -16, 80, 16], [-54, 16, 4, 76, -80, 6, -26, -76, 94, 92, 20, 12, 94, 94, 2, -80, -38, 8, -76], [-70, -46, 90, -48, 76, 72, -34, 30, -26, -30, 92, -92, 60, 12, 80, -86, 76, -84, 10], [42, -80, 80, 92, -2, 56, 88, -8, 96, 16, -26, -54, 4, 52, -82, -10, -46, 80, 78], [14, 46, 22, -52, 84, 58, 42, 14, 14, 96, 34, -38, 56, 44, 90, -76, 56, 48, 22], [82, 38, -78, -48, 16, -98, -12, 78, -18, -10, 44, 88, -52, 96, -28, -42, -60, 46, 40], [2, 44, -6, 80, 98, -70, -68, 64, -10, 46, 72, -84, 32, 50, 68, 64, -90, 96, 28]],14,13,),
    ([[0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1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0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]],25,24,),
    ([[31, 48, 68, 49, 98, 47, 55, 79, 5, 20, 11, 9, 59, 53, 29, 43, 1, 50, 69, 37, 60, 89, 28, 44, 50, 90, 43, 31, 7, 79, 85, 6, 34, 25, 53, 17, 61, 5, 83, 52, 85], [70, 28, 50, 31, 1, 77, 22, 53, 9, 6, 6, 41, 39, 78, 40, 14, 38, 54, 41, 8, 33, 56, 49, 71, 36, 29, 20, 86, 79, 98, 79, 27, 92, 24, 95, 95, 25, 43, 60, 38, 8], [79, 27, 53, 17, 66, 13, 90, 3, 7, 6, 80, 2, 81, 47, 16, 65, 31, 71, 30, 63, 10, 62, 48, 45, 16, 13, 57, 39, 95, 36, 97, 59, 84, 28, 38, 27, 87, 62, 66, 46, 17], [21, 20, 37, 59, 72, 41, 27, 12, 90, 97, 40, 25, 44, 89, 44, 63, 51, 37, 82, 72, 99, 33, 54, 7, 48, 43, 56, 77, 21, 2, 21, 34, 14, 12, 13, 99, 76, 92, 19, 12, 7], [90, 44, 32, 15, 9, 55, 31, 24, 57, 39, 65, 75, 83, 45, 32, 46, 40, 28, 82, 22, 29, 66, 89, 8, 98, 80, 8, 12, 92, 38, 78, 66, 8, 58, 76, 9, 64, 61, 55, 99, 48], [51, 17, 26, 84, 15, 29, 10, 73, 12, 75, 80, 67, 86, 42, 6, 55, 79, 27, 22, 26, 96, 84, 73, 99, 29, 56, 73, 61, 12, 57, 20, 67, 34, 76, 60, 69, 47, 3, 9, 80, 40], [90, 99, 92, 54, 85, 5, 52, 80, 85, 3, 42, 28, 23, 85, 53, 44, 4, 60, 90, 80, 71, 96, 53, 8, 5, 99, 11, 66, 94, 77, 52, 50, 89, 69, 3, 57, 13, 22, 26, 15, 23], [82, 5, 43, 1, 28, 65, 42, 69, 37, 56, 77, 87, 1, 90, 35, 44, 95, 75, 3, 34, 62, 84, 42, 85, 50, 83, 22, 74, 91, 75, 41, 17, 49, 31, 16, 72, 46, 67, 78, 24, 64], [46, 82, 93, 52, 26, 92, 40, 77, 35, 72, 19, 76, 33, 89, 16, 51, 58, 68, 25, 58, 97, 97, 27, 39, 29, 69, 82, 18, 41, 44, 56, 82, 50, 14, 53, 99, 66, 33, 97, 56, 40], [82, 51, 57, 17, 43, 90, 99, 61, 40, 2, 87, 88, 88, 23, 53, 90, 45, 73, 30, 87, 17, 38, 54, 79, 81, 17, 11, 96, 15, 14, 40, 12, 73, 78, 6, 49, 19, 44, 34, 40, 28], [91, 76, 52, 21, 1, 23, 3, 66, 19, 85, 80, 9, 50, 13, 13, 74, 95, 52, 57, 55, 83, 61, 59, 71, 87, 82, 66, 35, 27, 25, 35, 24, 31, 99, 84, 7, 28, 15, 28, 54, 73], [70, 25, 50, 21, 2, 28, 82, 15, 59, 88, 77, 97, 28, 43, 53, 7, 5, 92, 59, 40, 3, 21, 31, 68, 57, 70, 26, 90, 51, 3, 52, 84, 73, 10, 39, 87, 32, 2, 38, 41, 50], [15, 30, 65, 19, 16, 95, 84, 25, 51, 82, 30, 90, 69, 19, 28, 91, 66, 6, 95, 4, 93, 52, 56, 11, 33, 7, 17, 5, 26, 42, 10, 30, 93, 38, 58, 78, 53, 15, 18, 72, 18], [11, 98, 6, 29, 26, 92, 76, 16, 20, 9, 85, 41, 79, 93, 36, 95, 60, 65, 56, 19, 59, 70, 12, 66, 40, 11, 11, 29, 24, 68, 49, 60, 88, 7, 93, 71, 6, 14, 73, 53, 34], [30, 43, 25, 96, 81, 79, 67, 27, 6, 23, 1, 29, 73, 43, 36, 43, 34, 22, 33, 29, 73, 92, 43, 39, 58, 67, 45, 50, 45, 53, 61, 94, 59, 83, 86, 23, 57, 6, 13, 85, 11], [61, 97, 61, 30, 8, 37, 41, 59, 61, 98, 87, 95, 19, 24, 51, 62, 4, 45, 90, 53, 58, 99, 33, 35, 88, 36, 14, 27, 40, 29, 99, 44, 33, 95, 65, 79, 21, 75, 47, 3, 21], [61, 97, 11, 85, 24, 99, 49, 40, 75, 37, 76, 50, 19, 65, 46, 92, 58, 17, 39, 87, 69, 51, 83, 53, 78, 1, 88, 32, 76, 52, 29, 65, 52, 7, 53, 93, 82, 97, 41, 10, 25], [66, 33, 93, 9, 83, 79, 54, 99, 80, 99, 62, 62, 78, 92, 80, 8, 32, 76, 81, 42, 63, 37, 90, 89, 17, 90, 46, 63, 45, 26, 38, 50, 8, 85, 84, 16, 76, 74, 53, 24, 22], [64, 59, 45, 43, 50, 87, 1, 65, 45, 28, 48, 5, 19, 6, 9, 91, 10, 19, 26, 65, 56, 86, 53, 64, 81, 38, 67, 6, 44, 27, 20, 40, 40, 84, 15, 82, 28, 29, 41, 57, 30], [64, 68, 41, 29, 43, 96, 96, 70, 43, 50, 38, 1, 42, 68, 10, 92, 74, 36, 80, 77, 32, 62, 39, 66, 51, 40, 30, 41, 34, 83, 13, 34, 43, 86, 42, 68, 29, 46, 67, 20, 34], [88, 50, 80, 30, 75, 87, 49, 29, 83, 98, 89, 7, 45, 85, 24, 48, 68, 10, 50, 73, 95, 75, 67, 43, 27, 74, 55, 24, 70, 37, 32, 20, 11, 16, 64, 35, 15, 72, 7, 39, 44], [27, 25, 57, 29, 4, 52, 9, 34, 73, 23, 42, 87, 48, 54, 71, 49, 42, 60, 58, 25, 11, 40, 54, 66, 57, 66, 30, 47, 90, 58, 34, 15, 9, 4, 26, 67, 4, 89, 4, 32, 86], [89, 16, 52, 90, 67, 58, 27, 16, 54, 7, 16, 18, 48, 22, 65, 89, 20, 59, 18, 1, 90, 42, 47, 80, 24, 75, 19, 26, 30, 97, 20, 58, 31, 3, 61, 65, 40, 79, 98, 74, 1], [8, 74, 8, 84, 80, 50, 63, 17, 76, 65, 30, 59, 42, 53, 27, 22, 64, 51, 49, 84, 33, 41, 43, 82, 58, 71, 99, 23, 75, 73, 23, 74, 75, 49, 13, 64, 36, 35, 87, 9, 84], [73, 48, 61, 39, 10, 27, 93, 72, 22, 89, 88, 82, 42, 37, 56, 43, 74, 25, 68, 62, 94, 63, 23, 20, 58, 24, 37, 92, 23, 11, 51, 66, 24, 52, 20, 32, 93, 85, 77, 93, 15], [66, 11, 45, 39, 5, 17, 81, 17, 58, 15, 34, 54, 90, 7, 22, 75, 66, 1, 78, 98, 76, 86, 51, 51, 70, 68, 87, 34, 95, 7, 31, 94, 59, 79, 23, 93, 91, 40, 78, 78, 91], [50, 6, 65, 92, 8, 11, 57, 39, 98, 59, 48, 89, 71, 88, 5, 54, 2, 94, 73, 35, 35, 58, 41, 20, 81, 61, 74, 68, 5, 33, 66, 13, 77, 65, 80, 52, 89, 83, 30, 33, 99], [45, 18, 39, 40, 85, 61, 55, 15, 41, 18, 83, 50, 42, 48, 74, 80, 23, 32, 87, 48, 78, 79, 76, 68, 67, 64, 37, 48, 6, 65, 40, 24, 68, 51, 10, 69, 20, 36, 32, 40, 60], [62, 42, 68, 48, 14, 19, 82, 70, 48, 37, 41, 77, 58, 36, 38, 65, 46, 50, 27, 14, 68, 67, 6, 57, 77, 14, 94, 25, 40, 48, 39, 16, 69, 48, 36, 45, 25, 41, 84, 15, 19], [24, 34, 63, 26, 30, 96, 39, 70, 47, 55, 83, 4, 18, 14, 8, 32, 15, 69, 5, 21, 12, 99, 41, 23, 28, 6, 41, 58, 88, 70, 47, 30, 81, 37, 42, 43, 4, 53, 7, 86, 52], [15, 6, 54, 2, 17, 63, 36, 56, 48, 90, 64, 88, 22, 30, 10, 16, 34, 47, 26, 4, 4, 24, 5, 1, 27, 79, 34, 82, 65, 70, 24, 26, 35, 62, 77, 67, 1, 77, 98, 31, 69], [11, 38, 9, 33, 36, 75, 12, 18, 64, 64, 71, 85, 1, 43, 74, 65, 51, 3, 28, 6, 60, 52, 8, 1, 77, 8, 12, 86, 18, 48, 89, 73, 68, 2, 41, 75, 55, 5, 24, 98, 92], [13, 76, 45, 26, 19, 90, 71, 32, 38, 26, 1, 29, 8, 74, 78, 44, 5, 58, 97, 58, 58, 93, 21, 35, 15, 8, 70, 54, 10, 36, 7, 17, 53, 8, 66, 5, 40, 77, 78, 4, 88], [74, 15, 46, 99, 53, 57, 59, 57, 43, 32, 88, 49, 45, 36, 75, 54, 83, 45, 90, 87, 13, 31, 30, 38, 20, 31, 32, 4, 46, 23, 95, 2, 82, 73, 48, 44, 45, 83, 26, 12, 81], [44, 49, 24, 76, 76, 98, 8, 15, 69, 2, 86, 38, 40, 50, 44, 53, 21, 28, 80, 50, 45, 4, 54, 38, 39, 9, 98, 30, 48, 54, 44, 90, 33, 87, 92, 80, 18, 53, 4, 32, 21], [67, 67, 7, 39, 3, 82, 1, 53, 48, 87, 86, 72, 8, 79, 79, 49, 24, 94, 42, 5, 40, 29, 44, 57, 23, 36, 62, 73, 14, 94, 64, 15, 70, 10, 35, 23, 79, 50, 98, 92, 60], [57, 99, 23, 49, 48, 12, 99, 3, 69, 84, 26, 65, 91, 44, 34, 30, 32, 4, 71, 73, 5, 29, 79, 9, 4, 53, 71, 32, 56, 75, 98, 74, 34, 92, 43, 76, 40, 71, 21, 68, 39], [40, 33, 53, 35, 87, 85, 80, 23, 79, 96, 44, 95, 9, 96, 15, 21, 95, 70, 88, 75, 37, 15, 28, 29, 63, 56, 78, 78, 88, 71, 35, 26, 68, 28, 21, 13, 2, 45, 20, 92, 82], [38, 63, 56, 59, 92, 18, 14, 52, 6, 46, 31, 64, 96, 70, 25, 41, 20, 52, 89, 79, 89, 50, 79, 8, 57, 23, 67, 75, 83, 92, 65, 45, 75, 73, 92, 76, 98, 34, 54, 10, 24], [21, 52, 25, 66, 13, 68, 25, 54, 23, 60, 26, 14, 36, 92, 70, 70, 13, 41, 45, 67, 76, 33, 47, 69, 23, 22, 43, 96, 77, 46, 94, 6, 86, 88, 33, 24, 84, 80, 78, 98, 76], [38, 83, 14, 92, 35, 2, 21, 41, 94, 49, 13, 53, 58, 63, 68, 17, 56, 48, 44, 59, 36, 11, 8, 46, 92, 83, 26, 68, 24, 43, 35, 56, 41, 81, 98, 5, 53, 50, 1, 96, 97]],40,35,)
        ]
    n_success = 0
    for i, parameters_set in enumerate(param):
        if f_filled(*parameters_set) == f_gold(*parameters_set):
            n_success+=1
    print("#Results: %i, %i" % (n_success, len(param)))